﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="JDFoodMenu.WebTemplates.Pager" %>

<table border="0" cellpadding="0" cellspacing="0" width="100%" class="TablePager">
    <tr>
        <td align="left" nowrap="" style="height: 25px">
            &nbsp;<asp:LinkButton CssClass="blue-10" ID="lbtnGotoFirstPage" 
                runat="server" Text="首页" onclick="lbtnGotoFirstPage_Click"></asp:LinkButton>
            <asp:LinkButton CssClass="blue-10" ID="lbtnGotoPrevPage" runat="server" 
                Text="上一页" onclick="lbtnGotoPrevPage_Click"></asp:LinkButton>
            <asp:LinkButton CssClass="blue-10" ID="lbtnGotoNextPage" runat="server" 
                Text="下一页" onclick="lbtnGotoNextPage_Click"></asp:LinkButton>
            <asp:LinkButton CssClass="blue-10" ID="lbtnGotoLastPage" runat="server" 
                Text="尾页" onclick="lbtnGotoLastPage_Click"></asp:LinkButton>
            <span class="or-01">[
                <asp:Label ID="lblCurrentPageIndex" runat="server">1</asp:Label>
                /
                <asp:Label ID="lblPageCount" runat="server">20</asp:Label>
                ]</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第
            <asp:TextBox ID="tbGotoPage" runat="server" CssClass="Textbox03" Width="40" AutoCompleteType="Disabled"></asp:TextBox>
            页&nbsp;
            <asp:Button ID="btnGoto" runat="server" CssClass="gotoBtn" Text="跳转" 
                OnClick="btnGoto_Click" />
        </td>
        <td align="right" nowrap style="height: 25px">
            &nbsp; 每页<asp:DropDownList ID="ddlPageSize" runat="server" 
                AutoPostBack="True" onselectedindexchanged="ddlPageSize_SelectedIndexChanged">                
                
                <asp:ListItem Value="25" Selected="True"></asp:ListItem>
                <asp:ListItem Value="50"></asp:ListItem>
                <asp:ListItem Value="100"></asp:ListItem>
                <asp:ListItem Value="200"></asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
</table>
